$OpenBSD: patch-configure,v 1.4 2013/10/24 10:52:27 jca Exp $
Check for arc4random_stir.
--- configure.orig	Tue Oct  2 19:02:53 2007
+++ configure	Wed Oct 23 17:28:08 2013
@@ -4668,10 +4668,10 @@ TEST_SHELL=sh
 
 
 
-CFLAGS="-g -O3"
+#CFLAGS="-g -O3"
 
 NXCOMPINC="-I../nxcomp"
-NXCOMPLIBS="-L../nxcomp -lXcomp -lstdc++ -lpng -ljpeg -lz"
+NXCOMPLIBS="-L../nxcomp -lXcomp -lstdc++ -lm -lpng -ljpeg -lz"
 
 # Extract the first word of "groupadd", so it can be a program name with args.
 set dummy groupadd; ac_word=$2
@@ -12403,6 +12403,7 @@ fi
 
 for ac_func in \
 	arc4random \
+	arc4random_stir \
 	asprintf \
 	b64_ntop \
 	__b64_ntop \
